package com.etc.entity;

import org.springframework.stereotype.Component;

@Component
public class RoomType {

    private String rtId;
    private String rtName;
    private int rtBed;
    private float rtPrice;
    private float rtForegift;
    private int rtClRoom;
    private float rtClPrice;
    private String rtRemark;

    public String getRtId() {
        return rtId;
    }

    public void setRtId(String rtId) {
        this.rtId = rtId;
    }

    public String getRtName() {
        return rtName;
    }

    public void setRtName(String rtName) {
        this.rtName = rtName;
    }

    public int getRtBed() {
        return rtBed;
    }

    public void setRtBed(int rtBed) {
        this.rtBed = rtBed;
    }

    public float getRtPrice() {
        return rtPrice;
    }

    public void setRtPrice(float rtPrice) {
        this.rtPrice = rtPrice;
    }

    public float getRtForegift() {
        return rtForegift;
    }

    public void setRtForegift(float rtForegift) {
        this.rtForegift = rtForegift;
    }

    public int getRtClRoom() {
        return rtClRoom;
    }

    public void setRtClRoom(int rtClRoom) {
        this.rtClRoom = rtClRoom;
    }

    public float getRtClPrice() {
        return rtClPrice;
    }

    public void setRtClPrice(float rtClPrice) {
        this.rtClPrice = rtClPrice;
    }

    public String getRtRemark() {
        return rtRemark;
    }

    public void setRtRemark(String rtRemark) {
        this.rtRemark = rtRemark;
    }

    public RoomType(String rtId, String rtName, int rtBed, float rtPrice, float rtForegift, int rtClRoom, float rtClPrice, String rtRemark) {
        this.rtId = rtId;
        this.rtName = rtName;
        this.rtBed = rtBed;
        this.rtPrice = rtPrice;
        this.rtForegift = rtForegift;
        this.rtClRoom = rtClRoom;
        this.rtClPrice = rtClPrice;
        this.rtRemark = rtRemark;
    }

    @Override
    public String toString() {
        return "RoomType{" +
                "rtId='" + rtId + '\'' +
                ", rtName='" + rtName + '\'' +
                ", rtBed=" + rtBed +
                ", rtPrice=" + rtPrice +
                ", rtForegift=" + rtForegift +
                ", rtClRoom=" + rtClRoom +
                ", rtClPrice=" + rtClPrice +
                ", rtRemark='" + rtRemark + '\'' +
                '}';
    }

    public RoomType() {
    }
}
